package com.atguigu.registration.order.service;

import java.util.Map;

/**
 * @Author: Jiang Yizhi
 * @Date: 2022/5/13 8:30 PM
 */
public interface WeixinService {

    /** 生成微信支付扫描的二维码 */
    Map createNative(Long orderId);

    /** 调用微信接口实现支付状态查询 */
    Map<String, String> queryPayStatus(Long orderId);

    /**
     * 退款
     */
    Boolean refund(Long orderId);

}
